html{
    background: #F5F5DC;
}
body {
    margin: 0;
    padding: 0;
}

img{
    width:100%;
    height:auto;
    max-width: 100%;
}

video{
    width:100%;
    height:auto;
    max-width: 100%;
}

.border {
    margin: 0;
    padding: 0;
    width: 100%;
}

.border .top{
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    position: fixed;
    min-width: 1000px;
    display: flex;
    justify-content: space-between;
}
.top .change-scene{
    width: 100px;
    height: 100px;
    font-size: 50px;
    background: linear-gradient(to right, rgb(207, 62, 130), rgb(64, 165, 223));
    position: relative;
    border-radius: 50px;
    top: -40px;
    left: -40px;
    float: left;
}
.change-scene i{
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: white;
}
.top .class-info{
    width: 800px;
    height: 50px;
    background:white;
    box-shadow: 0 0 5px #e4e4e4;
    float: left;
}
.class-info div{
    width: 200px;
    height: 50px;
    float: left;
    padding: 13px;
    text-align: center;
}
.class-info .class-name{

}
.class-info .class-name span{
    text-shadow: -1px 1px 1px #c7c7c7;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
.class-info .student-number .add-invite-code{
    color: #00d1b2;
}
.class-info .teacher{

}
.class-info .teacher span:last-child{
    color: brown;
}
.top .user-info{
    width: 100px;
    height: 100px;
    float: right;
    background: white;
    position: relative;
    border-radius: 50px;
    top: -40px;
    right: -40px;
}
.user-info img{
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
}
.border .center{
    margin: auto;
    margin-top: 60px;
    margin-bottom: 50px;
    max-height: 600px;
    background: white;
    width: 1000px;
}
.center .students-view{
    width: 100%;
    overflow: hidden;
    padding-bottom: 45px;
}
.students-view .student{
    box-shadow: 0 0 2px lightgrey;
    background: #f7f7f7;
    text-align: center;
    width: 60px;
    height: 60px;
    float: left;
    margin-right: 29px;
    margin-left: 10px;
    margin-top: 20px;
    position: relative;
}
.students-view .student .stu-name{
    color: brown;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    font-size: 12px;
}
.students-view .student img{
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: block;
    margin: auto;
}
.students-view .student .msg-bubble{
    position: absolute;
    padding: 5px;
    font-size: 12px;
    background: white;
    border-radius: 0px 15px 15px 15px;
    border: 1px solid lightgrey;
    top: 22px;
    max-width: 75px;
    max-height: 80px;
    left: 30px;
    word-wrap: break-word;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.students-view .student .online{
    position: absolute;
    right: 3px;
    top: 3px;
    width: 8px;
    height: 8px;
    background: #d86e00;
    border-radius: 5px;
}
.center .teacher-view{
    width: 100%;
    padding: 10px;
}
.teacher-view .t-desk{
    width: 150px;
    height: 50px;
    background: #f7f7f7;
    margin: auto;
    box-shadow: 0 0 2px lightgrey;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 32px;
}
.teacher-view .t-desk img{
    width: 50px;
    height: 50px;
    border-radius: 50px;
}
.teacher-view .t-desk span{
    color: brown;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    display: inline-block;
    float: right;
    width: 80px;
    padding-left: 10px;
    line-height: 50px;
}
.border .bottom{
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
}
.bottom a{
    float: left;
    width: 200px;
    text-align: center;
    padding: 13px;
    color: white;
}
.bottom .notice{
    height: 100%;
    background: #52c0e4;
}
.bottom .homework{
    height: 100%;
    background: #be81f0;
}
.bottom .begin{
    height: 100%;
    background: #00d1b2;
}
.bottom .chat{
    height: 100%;
    background: #ffb13b;
    padding: 5px;
    padding-right: 0;
    width: 400px;
    text-align: left;
}
.bottom .chat input{
    padding: 10px;
    width: 325px;
    border: 0;
    margin-right: 20px;
}

.add-code-box-border{
    position: fixed;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}
.add-code-box{
    width: 500px;
    background: white;
    margin: auto;
    margin-top: 10%;
    border-radius: 5px;
    padding-bottom: 5px;
}
.add-code-box .add-number{
    width: 100%;
    height: 50px;
    padding: 8px;
    border-bottom: 1px solid #ebebeb;
}
.add-code-box .add-number input{
    padding: 8px;
    border: 1px solid lightgrey;
    border-radius: 3px;
    padding-left: 25px;
}
.add-number .max-add{
    background: #efa115;
    border: 0;
    color: white;
}
.add-number .cancel{
    float: right;
    background: white;
    color: grey;
    border: 1px solid lightgrey;
}
.code-title{
    padding-left: 10px;
    background: #f6f6f6;
    padding-top: 5px;
    padding-bottom: 5px;
}
.codes{
    max-height: 340px;
    overflow-y: auto;
    user-select: none;
}
.codes .codeItem{
    padding: 5px;
}
.codes .codeItem .used-status{
    font-size: 14px;
    padding-left: 10px;
    color: #00d1b2;
}
code{
    padding: 5px;
    border-radius: 3px;
    color: #892c2c;
    font-family: verdana;
    user-select: all;
}